
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <title>指标通用属性 · GitBook</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.0.0">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="explain-property2.html" />
    
    
    <link rel="prev" href="explain-bootstrap.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    平台概念介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="plugin-intro.html">
            
                <a href="plugin-intro.html">
            
                    
                    指标开发简介
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="plugin-file.html">
            
                <a href="plugin-file.html">
            
                    
                    插件目录结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="plugin-conf.html">
            
                <a href="plugin-conf.html">
            
                    
                    插件配置文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="plugin-review.html">
            
                <a href="plugin-review.html">
            
                    
                    插件开发说明
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="explain-intro.html">
            
                <a href="explain-intro.html">
            
                    
                    指标开发讲解
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="explain-bootstrap.html">
            
                <a href="explain-bootstrap.html">
            
                    
                    指标核心逻辑
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.2" data-path="explain-property1.html">
            
                <a href="explain-property1.html">
            
                    
                    指标通用属性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="explain-property2.html">
            
                <a href="explain-property2.html">
            
                    
                    指标自定义属性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="explain-event.html">
            
                <a href="explain-event.html">
            
                    
                    指标钻取事件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="explain-summary.html">
            
                <a href="explain-summary.html">
            
                    
                    指标开发总结
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >指标通用属性</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x6307;&#x6807;&#x901A;&#x7528;&#x5C5E;&#x6027;">&#x6307;&#x6807;&#x901A;&#x7528;&#x5C5E;&#x6027;</h1>
<hr>
<p>&#x6307;&#x6807;&#x901A;&#x7528;&#x5C5E;&#x6027;&#x662F;&#x5E73;&#x53F0;&#x63D0;&#x4F9B;&#x7684;&#x4E00;&#x4E2A;&#x7B80;&#x6613;&#x65B9;&#x5F0F;&#x6765;&#x5B9E;&#x73B0;&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;&#x4E0B;&#x6307;&#x6807;&#x5C5E;&#x6027;&#x7F16;&#x8F91;&#x7684;&#x7279;&#x6027;&#x652F;&#x6301;&#x3002;</p>
<pre><code>var property = {
        name: &apos;eBarProperty&apos;,
        config: &quot;property&quot;,
        option: [].concat([
                {
                    group: &apos;&#x5176;&#x4ED6;&apos;,
                    id: &apos;b757a938-727f-4026-9d96-22c86e4ccb18&apos;,
                    name: &apos;&#x80CC;&#x666F;&#x8272;&apos;,
                    enable: false,
                    type: &apos;color&apos;,
                    value: &apos;transparent&apos;,
                    default: &apos;transparent&apos;,
                    link: &apos;backgroundColor&apos;,
                    tooltip: &apos;&#x80CC;&#x666F;&#x8272;&#xFF0C;&#x5982;&#x9700;&#x900F;&#x660E;&#x8BF7;&#x586B;&#x5199;:transparent&apos;
                },
                {
                    group: &apos;&#x5176;&#x4ED6;&apos;,
                    id: &apos;c879c3a7-c1ad-4058-8745-055aad9d137c&apos;,
                    name: &apos;Y&#x8F74;&#x5206;&#x5272;&#x7EBF;&apos;,
                    enable: false,
                    type: &apos;checked&apos;,
                    value: true,
                    default: true,
                    tooltip: &apos;&#x662F;&#x5426;&#x663E;&#x793A;Y&#x8F74;&#x5206;&#x5272;&#x7EBF;&apos;,
                    link: function (option) {
                        var _this = this;
                        if (_this.enable &amp;&amp; $.isArray(option.yAxis)) {
                            _.each(option.yAxis, function (yAxis) {
                                Util.setOption(&quot;splitLine.show&quot;, _this.value, yAxis);
                            });
                        }
                    }
                },
                {
                    group: &apos;&#x4E8B;&#x4EF6;&apos;,
                    id: &apos;6122971c-a8f3-4a02-a497-e4e3e351bb1c&apos;,
                    name: &apos;&#x5E8F;&#x5217;&#x70B9;&#x51FB;&#x4E8B;&#x4EF6;&apos;,
                    enable: true,
                    type: &apos;pivotEvent&apos;,
                    value: {
                        Event:&quot;SeriesClick&quot;,
                        Params:[
                            {Value:&quot;SeriesName&quot;,Name:&quot;&#x5E8F;&#x5217;&#x540D;&#x79F0;&quot;},
                            {Value:&quot;Dimension&quot;,Name:&quot;&#x5E8F;&#x5217;&#x7EF4;&#x5EA6;&#x503C;&quot;},
                            {Value:&quot;Measure&quot;,Name:&quot;&#x5E8F;&#x5217;&#x5EA6;&#x91CF;&#x503C;&quot;}
                        ]
                    },
                    tooltip: &apos;&#x5E8F;&#x5217;&#x70B9;&#x51FB;&#x4E8B;&#x4EF6;&#xFF0C;&#x94BB;&#x53D6;&#x8BBE;&#x7F6E;&apos;
                })
}</code></pre>

<p>&#x4E3A;&#x4E86;&#x652F;&#x6301;&#x6B64;&#x7279;&#x6027;&#xFF0C;&#x9700;&#x8981;&#x6EE1;&#x8DB3;&#x5982;&#x4E0B;&#x8981;&#x6C42;&#xFF1A;</p>
<ul>
<li>&#x6307;&#x6807;&#x6838;&#x5FC3;&#x5B9A;&#x4E49;AMD&#x5BFC;&#x51FA;&#x5BF9;&#x8C61;&#x9700;&#x5305;&#x542B;<code>property</code>&#x5C5E;&#x6027;&#x3002;</li>
<li><code>Property</code>&#x5C5E;&#x6027;&#x9700;&#x5305;&#x542B; <code>config: &quot;property&quot;</code>,&#x4E14;<code>option</code>&#x4E3A;&#x5C5E;&#x6027;&#x63CF;&#x8FF0; <strong>&#x6570;&#x7EC4;</strong> &#x3002;</li>
<li><code>option</code>&#x5C5E;&#x6027;&#x63CF;&#x8FF0;&#x6570;&#x7EC4;&#x4E2D;&#x63CF;&#x8FF0;&#x89C4;&#x5219;&#x9700;&#x9075;&#x5FAA;&#x5982;&#x4E0B;&#x683C;&#x5F0F;&#xFF1A;</li>
</ul>
<pre><code>group: &#x5C5E;&#x6027;&#x5206;&#x7EC4;,
id: &#x5C5E;&#x6027;ID,&#x8981;&#x6C42;&#x552F;&#x4E00;&#xFF0C;&#x4E14;&#x4E0D;&#x5F97;&#x968F;&#x610F;&#x4FEE;&#x6539;,
name: &#x5C5E;&#x6027;&#x540D;&#x79F0;,
enable: &#x662F;&#x5426;&#x542F;&#x7528;,
type: &#x5C5E;&#x6027;&#x7C7B;&#x578B;,
value: &#x5C5E;&#x6027;&#x503C;,
default: &#x5C5E;&#x6027;&#x9ED8;&#x8BA4;&#x503C;,
link: &#x94FE;&#x63A5;&#x5B57;&#x7B26;&#x4E32;/&#x51FD;&#x6570;,
tooltip: &#x63D0;&#x793A;&#x4FE1;&#x606F;</code></pre>

<ul>
<li>&#x5C5E;&#x6027;&#x63CF;&#x8FF0;&#x76EE;&#x524D;&#x652F;&#x6301;&#x7684;&#x7C7B;&#x578B;&#x6709; <em>text&#x3001;textarea&#x3001;script&#x3001;style&#x3001;checked&#x3001;select&#x3001;list&#x3001;color&#x3001;colors&#x3001;number&#x3001;date&#x3001;padding&#x3001;resource&#x3001;textbinding&#x3001;seriesbinding&#x3001;sortbinding&#x3001;group&#x3001;pivotEvent</em> &#x3002;</li>
<li>&#x5C5E;&#x6027;&#x63CF;&#x8FF0; <em>group</em> &#x7C7B;&#x578B;&#x4E3A;&#x5206;&#x7EC4;&#x7C7B;&#x578B;&#xFF0C;&#x652F;&#x6301;&#x5185;&#x90E8;&#x5D4C;&#x5957;&#x5176;&#x4ED6;&#x7C7B;&#x578B;&#xFF0C;&#x76EE;&#x524D;&#x4EC5;&#x652F;&#x6301;&#x4E00;&#x5C42;&#x5D4C;&#x5957;&#x3002;</li>
<li>&#x5C5E;&#x6027;&#x63CF;&#x8FF0;&#x4E0B;&#x7684;<code>link</code>&#x5C5E;&#x6027;&#x4E3A;&#x94FE;&#x63A5;&#x53C2;&#x6570;&#xFF0C;&#x652F;&#x6301;&#x5B57;&#x7B26;&#x4E32;&#x4E0E;&#x51FD;&#x6570;&#x4E24;&#x79CD;&#x65B9;&#x5F0F;&#x3002;&#x5F53;&#x4E3A;&#x5B57;&#x7B26;&#x4E32;&#x65F6;&#xFF0C;&#x4F1A;&#x5728;&#x6307;&#x6807;&#x63D2;&#x4EF6;&#x6E32;&#x67D3;&#x65F6;&#xFF0C;&#x5C06;<code>value</code>&#x503C;&#x81EA;&#x52A8;&#x8D4B;&#x4E88;&#x6307;&#x6807;&#x53C2;&#x6570;&#x7684;<code>Option</code>&#x4E0B;&#x7684;&#x5BF9;&#x5E94;&#x5C5E;&#x6027;&#xFF0C;&#x652F;&#x6301;&quot;.&quot;&#x64CD;&#x4F5C;&#xFF0C;&#x5982;&#xFF1A;link &#x4E3A; <code>&apos;title.text&apos;</code> &#x5219;&#x8D4B;&#x503C;&#x5230; <code>Option.title.text = &apos;value&apos;</code>&#x3002;&#x5F53;&#x4E3A;&#x51FD;&#x6570;&#x65F6;&#xFF0C;&#x5219;&#x53EF;&#x901A;&#x8FC7;&#x590D;&#x6742;&#x7684;&#x8FD0;&#x7B97;&#x8FDB;&#x884C;&#x8D4B;&#x503C;&#x64CD;&#x4F5C;,&#x5982;&#x4E0A;&#x4EE3;&#x7801;&#x7684; <em>Y&#x8F74;&#x5206;&#x5272;&#x7EBF;</em> &#x5C5E;&#x6027;&#x63CF;&#x8FF0;&#xFF0C;&#x4F20;&#x5165;&#x53C2;&#x6570; <code>option</code> &#x4E3A; &#x6307;&#x6807;&#x53C2;&#x6570;&#x7684;<code>Option</code> &#x5F15;&#x7528;&#x5BF9;&#x8C61;&#x3002;</li>
</ul>
<p><em>&#x4E0B;&#x9762;&#x4E3A;&#x5E38;&#x7528;&#x5C5E;&#x6027;&#x7684;&#x793A;&#x4F8B;&#x4EE3;&#x7801;&#xFF1A;</em></p>
<pre><code>var property = {
    name: &apos;&#x81EA;&#x52A8;&#x5C5E;&#x6027;&#x6F14;&#x793A;&apos;,
    config: &quot;property&quot;,
    option: [
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;01&apos;,
            name: &apos;&#x6587;&#x672C;&#x6807;&#x7B7E;(type=text)&apos;,
            enable: true,
            type: &apos;text&apos;,
            value: &apos;content&apos;,
            default: &apos;content&apos;,
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:text&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5B57;&#x7B26;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;013333&apos;,
            name: &apos;&#x591A;&#x884C;&#x6587;&#x672C;&#x6807;&#x7B7E;(type=textarea)&apos;,
            enable: true,
            type: &apos;textarea&apos;,
            value: &apos;content&apos;,
            default: &apos;content&apos;,
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:textarea&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5B57;&#x7B26;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;02&apos;,
            name: &apos;&#x590D;&#x9009;&#x6846;(type=checked)&apos;,
            enable: true,
            type: &apos;checked&apos;,
            value: true,
            default: true,
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:checked&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5E03;&#x5C14;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;041&apos;,
            name: &apos;&#x591A;&#x9009;&#x96C6;&#x5408;(type=list)&apos;,
            enable: true,
            type: &apos;list&apos;,
            value: [],
            default: [],
            data: [{
                value: &apos;0&apos;,
                text: &apos;&#x6570;&#x636E;A&apos;
            },
                {
                    value: &apos;1&apos;,
                    text: &apos;&#x6570;&#x636E;B&apos;
                },
                {
                    value: &apos;2&apos;,
                    text: &apos;&#x6570;&#x636E;C&apos;
                }],
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:list&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5B57;&#x7B26;&#x96C6;&#x5408;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;03&apos;,
            name: &apos;&#x4E0B;&#x62C9;&#x6846;(type=select)&apos;,
            enable: true,
            type: &apos;select&apos;,
            value: &apos;0&apos;,
            default: &apos;0&apos;,
            data: [
                {
                    value: &apos;0&apos;,
                    text: &apos;&#x6570;&#x636E;A&apos;
                },
                {
                    value: &apos;1&apos;,
                    text: &apos;&#x6570;&#x636E;B&apos;
                },
                {
                    value: &apos;2&apos;,
                    text: &apos;&#x6570;&#x636E;C&apos;
                }
            ],
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:select&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5B57;&#x7B26;(&#x5BF9;&#x8C61;value&#x503C;)&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&lt;br/&gt;&#x5143;&#x6570;&#x636E;:data(&#x5BF9;&#x8C61;&#x6570;&#x7EC4;)&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;04&apos;,
            name: &apos;&#x989C;&#x8272;&#x9009;&#x62E9;(type=color)&apos;,
            enable: true,
            type: &apos;color&apos;,
            value: &apos;#FFFFFF&apos;,
            default: &apos;#FFFFFF&apos;,
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:color&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5B57;&#x7B26;(HTML&#x989C;&#x8272;&#x503C;)&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;05&apos;,
            name: &apos;&#x989C;&#x8272;&#x5E8F;&#x5217;(type=colors)&apos;,
            enable: true,
            type: &apos;colors&apos;,
            value: [],
            default: [],
            data: [
                &apos;#FE8463&apos;, &apos;#9BCA63&apos;, &apos;#FAD860&apos;, &apos;#60C0DD&apos;, &apos;#0084C6&apos;,
                &apos;#D7504B&apos;, &apos;#C6E579&apos;, &apos;#26C0C0&apos;, &apos;#F0805A&apos;, &apos;#F4E001&apos;,
                &apos;#B5C334&apos;
            ],
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:colors&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x6570;&#x7EC4;(HTML&#x989C;&#x8272;&#x503C;&#x6570;&#x7EC4;)&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&lt;br/&gt;&#x9ED8;&#x8BA4;&#x6570;&#x636E;:data(HTML&#x989C;&#x8272;&#x503C;&#x6570;&#x7EC4;)&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;06&apos;,
            name: &apos;&#x65E5;&#x671F;&#x9009;&#x62E9;(type=date)&apos;,
            enable: true,
            type: &apos;date&apos;,
            value: new Date(),
            default: new Date(),
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:date&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x65F6;&#x95F4;&#x5BF9;&#x8C61;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;0011&apos;,
            name: &apos;&#x8D44;&#x6E90;&#x9009;&#x62E9;(type=resource)&apos;,
            enable: true,
            type: &apos;resource&apos;,
            value: &apos;&apos;,
            default: &apos;&apos;,
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:resource&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5B57;&#x7B26;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;07&apos;,
            name: &apos;&#x6570;&#x503C;&#x9009;&#x62E9;(type=number)&apos;,
            enable: true,
            type: &apos;number&apos;,
            value: 10,
            default: 10,
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:number&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x6570;&#x503C;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;0777&apos;,
            name: &apos;Padding/Margin&#x9009;&#x62E9;(type=padding)&apos;,
            enable: true,
            type: &apos;padding&apos;,
            value: [0,0,0,0],
            default: [0,0,0,0],
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:padding&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:Padding/Margin &#x6570;&#x503C;&#x6570;&#x7EC4;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:value&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;08&apos;,
            name: &apos;&#x5E8F;&#x5217;&#x7ED1;&#x5B9A;(type=seriesBinding)&apos;,
            enable: true,
            type: &apos;seriesBinding&apos;,
            dataset: &apos;&apos;,
            dimension: {},
            measure: {},
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:seriesBinding&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5BF9;&#x8C61;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:dataset,dimension,measure(&#x6570;&#x636E;&#x96C6;&#x7F16;&#x7801;,&#x7EF4;&#x5EA6;&#x7ED1;&#x5B9A;&#x5BF9;&#x8C61;,&#x5EA6;&#x91CF;&#x7ED1;&#x5B9A;&#x5BF9;&#x8C61;)&lt;br/&gt;&#x7ED1;&#x5B9A;&#x5BF9;&#x8C61;&#x683C;&#x5F0F;:{ColumnCaption: &#x5B57;&#x6BB5;&#x6807;&#x9898;, ColumnCode: &#x5B57;&#x6BB5;&#x7F16;&#x7801;, ColumnName: &#x6570;&#x636E;&#x5217;&#x540D;&#x79F0;}&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;081&apos;,
            name: &apos;&#x6587;&#x672C;&#x7ED1;&#x5B9A;(type=textBinding)&apos;,
            enable: true,
            type: &apos;textBinding&apos;,
            dataset: &apos;&apos;,
            ctype: &apos;all&apos;,//&#x5217;&#x7C7B;&#x578B;&#xFF0C;&#x652F;&#x6301; all,dimension,measure
            column: {},
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:textBinding&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5BF9;&#x8C61;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:dataset,column(&#x6570;&#x636E;&#x96C6;&#x7F16;&#x7801;,&#x5217;&#x7ED1;&#x5B9A;&#x5BF9;&#x8C61;)&lt;br/&gt;&#x7ED1;&#x5B9A;&#x5BF9;&#x8C61;&#x683C;&#x5F0F;:{ColumnCaption: &#x5B57;&#x6BB5;&#x6807;&#x9898;, ColumnCode: &#x5B57;&#x6BB5;&#x7F16;&#x7801;, ColumnName: &#x6570;&#x636E;&#x5217;&#x540D;&#x79F0;}&apos;
        },
        {
            group: &apos;&#x57FA;&#x7840;&apos;,
            id: &apos;09&apos;,
            name: &apos;&#x6392;&#x5E8F;&#x7ED1;&#x5B9A;(type=sortBinding)&apos;,
            enable: true,
            type: &apos;sortBinding&apos;,
            dataset: &apos;&apos;,
            columns: [],
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&#xFF0C;&#x540C;&#x65F6;&#x652F;&#x6301;function&#x51FD;&#x6570;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;&#xFF1A;&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:sortBinding&lt;br/&gt;&#x8D4B;&#x503C;&#x7C7B;&#x578B;:&#x5BF9;&#x8C61;&#x6570;&#x7EC4;&lt;br/&gt;&#x8D4B;&#x503C;&#x540D;&#x79F0;:dataset,columns(&#x6570;&#x636E;&#x96C6;&#x7F16;&#x7801;,&#x5217;&#x7ED1;&#x5B9A;&#x5BF9;&#x8C61;&#x6570;&#x7EC4;)&lt;br/&gt;&#x7ED1;&#x5B9A;&#x5BF9;&#x8C61;&#x683C;&#x5F0F;:{ColumnCaption: &#x5B57;&#x6BB5;&#x6807;&#x9898;, ColumnCode: &#x5B57;&#x6BB5;&#x7F16;&#x7801;, ColumnName: &#x6570;&#x636E;&#x5217;&#x540D;&#x79F0;}&apos;
        },
        {
            group: &apos;&#x4E8B;&#x4EF6;&apos;,
            id: &apos;09999&apos;,
            name: &apos;&#x7ED1;&#x5B9A;&#x65F6;&#x95F4;(type=event)&apos;,
            enable: true,
            type: &apos;pivotEvent&apos;,
            value: {
                Event:&quot;SeriesClick&quot;,
                Params:[
                    {Value:&quot;SeriesName&quot;,Name:&quot;&#x5E8F;&#x5217;&#x540D;&#x79F0;&quot;},
                    {Value:&quot;Dimension&quot;,Name:&quot;&#x5E8F;&#x5217;&#x7EF4;&#x5EA6;&#x503C;&quot;},
                    {Value:&quot;Measure&quot;,Name:&quot;&#x5E8F;&#x5217;&#x5EA6;&#x91CF;&#x503C;&quot;}
                ]
            },
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;:&lt;br/&gt;&#x5C5E;&#x6027;&#x7C7B;&#x578B;:pivotEvent&#xFF0C;&#x7528;&#x4E8E;&#x6307;&#x6807;&#x4E8B;&#x4EF6;&#x903B;&#x8F91;&apos;
        },
        {
            group: &apos;&#x9AD8;&#x7EA7;&apos;,
            id: &apos;10&apos;,
            name: &apos;&#x5206;&#x7EC4;&#x63A7;&#x4EF6;(type=group)&apos;,
            type: &apos;group&apos;,
            items: [],
            option: [
                {
                    id: &apos;0901&apos;,
                    name: &apos;&#x6587;&#x672C;&#x6807;&#x7B7E;(type=text)&apos;,
                    enable: true,
                    type: &apos;text&apos;,
                    value: &apos;content&apos;,
                    default: &apos;content&apos;,
                    link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&apos;,
                    tooltip: &apos;&#x53C2;&#x89C1;&#x5916;&#x90E8;&#x63CF;&#x8FF0;&apos;
                },
                {
                    id: &apos;0902&apos;,
                    name: &apos;&#x5E8F;&#x5217;&#x7ED1;&#x5B9A;(type=seriesBinding)&apos;,
                    enable: true,
                    type: &apos;seriesBinding&apos;,
                    dataset: &apos;&apos;,
                    dimension: {},
                    measure: {},
                    link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&apos;,
                    tooltip: &apos;&#x53C2;&#x89C1;&#x5916;&#x90E8;&#x63CF;&#x8FF0;&apos;
                }
            ],
            link: &apos;&#x8FDE;&#x63A5;&#x5C5E;&#x6027;&apos;,
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;:&lt;br/&gt;&#x5206;&#x7EC4;&#x63A7;&#x4EF6;&#xFF0C;&#x652F;&#x6301;&#x52A8;&#x6001;&#x6269;&#x5C55;&#xFF0C;&#x5185;&#x90E8;&#x53EF;&#x589E;&#x52A0;&#x652F;&#x6301;&#x7684;&#x7C7B;&#x578B;&#x5C5E;&#x6027;&apos;
        },
        {
            group: &apos;&#x9AD8;&#x7EA7;2&apos;,
            id: &apos;20&apos;,
            name: &apos;&#x5206;&#x7EC4;&#x63A7;&#x4EF6;(type=group)&apos;,
            type: &apos;group&apos;,
            items: [],
            option: [
                {
                    id: &apos;1101&apos;,
                    name: &apos;&#x6587;&#x672C;&#x6807;&#x7B7E;(type=text)&apos;,
                    enable: true,
                    type: &apos;text&apos;,
                    value: &apos;content&apos;,
                    default: &apos;content&apos;,
                    link: function (option) {
                        log.debug(&quot;Group Inner Link Function&quot;);
                        log.debug(option);
                    },
                    tooltip: &apos;&#x53C2;&#x89C1;&#x5916;&#x90E8;&#x63CF;&#x8FF0;&apos;
                },
                {
                    id: &apos;1102&apos;,
                    name: &apos;&#x5E8F;&#x5217;&#x7ED1;&#x5B9A;(type=seriesBinding)&apos;,
                    enable: true,
                    type: &apos;seriesBinding&apos;,
                    dataset: &apos;&apos;,
                    dimension: {},
                    measure: {},
                    link: function (option) {
                        log.debug(&quot;Group Inner Link Function&quot;);
                        log.debug(option);
                    },
                    tooltip: &apos;&#x53C2;&#x89C1;&#x5916;&#x90E8;&#x63CF;&#x8FF0;&apos;
                }
            ],
            link: function (option) {
                log.debug(&quot;Group Link Function&quot;);
                log.debug(option);
            },
            tooltip: &apos;&#x5B57;&#x6BB5;&#x8BF4;&#x660E;:&lt;br/&gt;&#x5206;&#x7EC4;&#x63A7;&#x4EF6;&#xFF0C;&#x652F;&#x6301;&#x52A8;&#x6001;&#x6269;&#x5C55;&#xFF0C;&#x5185;&#x90E8;&#x53EF;&#x589E;&#x52A0;&#x652F;&#x6301;&#x7684;&#x7C7B;&#x578B;&#x5C5E;&#x6027;&apos;
        }
    ],
    MapOption: function (option) {
        Util.linkOption(this.option, option);
    }
};
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="explain-bootstrap.html" class="navigation navigation-prev " aria-label="Previous page: 指标核心逻辑">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="explain-property2.html" class="navigation navigation-next " aria-label="Next page: 指标自定义属性">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"指标通用属性","level":"1.3.2","depth":2,"next":{"title":"指标自定义属性","level":"1.3.3","depth":2,"path":"explain-property2.md","ref":"explain-property2.md","articles":[]},"previous":{"title":"指标核心逻辑","level":"1.3.1","depth":2,"path":"explain-bootstrap.md","ref":"explain-bootstrap.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"explain-property1.md","mtime":"2018-08-30T06:32:48.387Z","type":"markdown"},"gitbook":{"version":"3.0.0","time":"2018-08-30T06:38:59.990Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/buttons.js"></script>
        
    

    </body>
</html>

